package com.feibi.study.UI

import android.content.Intent
import android.os.Bundle
import com.feibi.study.Basic.BasicActivity
import com.feibi.study.R
import kotlinx.android.synthetic.main.activity_home.*

class HomeActivity : BasicActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_home)
        tv_basic_layout.setOnClickListener {
            startActivity(Intent(this,BasicLayoutActivity::class.java))
        }
        tv_basic_layout_work.setOnClickListener {
            startActivity(Intent(this,BasicLayoutWorkActivity::class.java))
        }
        tv_more_layout.setOnClickListener {
            startActivity(Intent(this, MoreLayoutActivity::class.java))
        }
        tv_listview.setOnClickListener {
            startActivity(Intent(this, ListViewActivity::class.java))
        }
        tv_viewpager.setOnClickListener {
            startActivity(Intent(this, ViewPagerActivity::class.java))
        }
        tv_frame_home.setOnClickListener {
            startActivity(Intent(this, FrameActivity::class.java))
        }
    }
}